/************************************************************************************
 * @File name   :      IDealerMacDao.java
 *
 * @Author      :      Wu Bin
 *
 * @Date        :      2011-6-17
 *
 * @Copyright Notice: 
 * Copyright (c) 2014 DMS, Inc. All  Rights Reserved.
 * This software is published under the terms of the DMS Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------------
 * Date                          Who              Version               Comments
 * 2011-6-17 ä¸Šå�ˆ11:35:31             Wu Bin          1.0             Initial Version
 ************************************************************************************/
package com.cap.bts.framework.common.dao;

import java.util.List;

import com.cap.bts.framework.common.dto.DealerQueryDto;
import com.cap.bts.framework.common.dto.DealerQueryResultDto;
import com.cap.bts.framework.common.dto.MacQueryDto;
import com.cap.bts.framework.common.dto.MacQueryResultDto;

import com.cap.bts.commonfunc.ge.dealer.domain.DealerInfo;
import com.cap.bts.framework.common.dao.IBaseDao;
import com.cap.bts.framework.common.exception.AppException;

/**
 *
 */
public interface IDealerMacDao extends IBaseDao<DealerInfo, Long> {
    
    /**
     * ç»�é”€å•†æ��ç¤ºé¡µé�¢çš„æŸ¥è¯¢è¿”å›žç»“æžœ
     * @Date        :      2011-6-17
     * @param dealerMacQueryDto DealerQueryDto  
     * @return List<DealerQueryResultDto>   
     */
    public List<DealerQueryResultDto> queryDealerWithPaging(DealerQueryDto dealerQueryDto);
    
    /**
     * macæ��ç¤ºé¡µé�¢çš„æŸ¥è¯¢è¿”å›žç»“æžœ
     * @Date        :      2011-6-17
     * @param macQueryDto MacQueryDto   
     * @return List<MacQueryResultDto>  
     */
    public List<MacQueryResultDto> queryMacWithPaging(MacQueryDto macQueryDto);
    
    //ç»�é”€å•†çœ‹æ�¿æŸ¥è¯¢
    /**
     * æ ¹æ�®DealerIDæŸ¥è¯¢ count
     * @Date        :      2011-12-7
     * @param querySql
     * @return
     * @throws AppException
     */
    public int queryCountBillboardByDealerID(String querySql)throws AppException;
    
}
